package com.spring.bucks.model;

public enum OrderState {
    INIT(1), PAID(2), BREWING(3), BREWED(4), TAKEN(5), CANCELLED(6);

    private Integer code;

    OrderState(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
